package com.sl.cdc.api.domain;

import com.sl.cdc.api.enums.CdcDataSourceEnum;
import lombok.Getter;
import lombok.Setter;

import java.util.List;
import java.util.Map;
import java.util.function.Function;

@Getter
@Setter
public class TaskDataSourceInfo {

    private String name;

    private CdcDataSourceEnum sourceDs;

    private String hostname;

    private String port;

    private String user;

    private String password;

    private List<TaskDataBaseInfo> dataBaseList;


    private Function<ConsumerEntityDTO, Map<String,Object>> processFunc;

}
